findNodeModulesBin

Find the binary under a node_modules folder

findNodeModulesBin
(,,
string binaryName
)

Parameters

nodeModulesDir string

The path to the node_modules directory

packageName string

The package to find the binary for

binaryName string

The name of the binary

Meta